import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'
// 引入初始化样式文件
import '@/styles/common.scss'
// 引入懒加载
import { imglazy } from './directives'
const app = createApp(App)
// 插件注册
app.use(createPinia())
app.use(router)
app.use(imglazy)
app.mount('#app')
